package com.chromatic.competition.model;

public class UserPost {
    private int userId;
    private String category;
    private String competitionName;
    private String postContent;
    private String postTime;
    private String startTime;
    private String endTime;
    private double expense;
    private boolean isExpired;

    public UserPost(int userId, String category, String competitionName, String postContent,
                    String postTime, String startTime, String endTime, double expense, boolean isExpired) {
        this.userId = userId;
        this.category = category;
        this.competitionName = competitionName;
        this.postContent = postContent;
        this.postTime = postTime;
        this.startTime = startTime;
        this.endTime = endTime;
        this.expense = expense;
        this.isExpired = isExpired;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getCompetitionName() {
        return competitionName;
    }

    public void setCompetitionName(String competitionName) {
        this.competitionName = competitionName;
    }

    public String getPostContent() {
        return postContent;
    }

    public void setPostContent(String postContent) {
        this.postContent = postContent;
    }

    public String getPostTime() {
        return postTime;
    }

    public void setPostTime(String postTime) {
        this.postTime = postTime;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public double getExpense() {
        return expense;
    }

    public void setExpense(double expense) {
        this.expense = expense;
    }

    public boolean isExpired() {
        return isExpired;
    }

    public void setExpired(boolean expired) {
        isExpired = expired;
    }
}